﻿using System;
namespace mscook.core.services
{
    public interface IBulletinService
    {
        bool Delete(string id);
        mscook.core.domain.Bulletin Get(string id);
        void SaveOrUpdate(mscook.core.domain.Bulletin Bulletin);
        System.Collections.Generic.IList<mscook.core.domain.Bulletin> SelectPageList(int start, int limit, out long total);
        System.Collections.Generic.IList<mscook.core.domain.Bulletin> GetByType(string type, int start, int limit);
        System.Collections.Generic.IList<mscook.core.domain.Bulletin> GetByExit(System.Collections.Generic.IList<string> exitIds, int start, int limit, out long total);
    }
}
